import {UserPermissionDAT} from "./responseTypes";

export interface UserStoreState {
    hasLogIn: boolean
    userInfo: UserInfo
    isFilledData: boolean
    hasEnroll: boolean
    permissions: UserPermissionDAT[]
}

export interface UserInfo {
    avatar: string
    USERNAME: string
    USERNO: string
    ROLE_ID: number
    ROLENAME: string
    OPENID: string
    // SESSION_KEY: string
    CUSER_ID: string | number
}
